﻿using System;

namespace Accounting.Model
{
    /// <summary>
    /// WagesDetail:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class WagesDetail
    {
        public WagesDetail()
        { }

        #region Model

        private int _id;
        private int _staffid;
        private string _attendancemonth;
        private decimal _legaldays;
        private decimal _factdays;
        private decimal _basemoney;
        private decimal? _addwork;
        private decimal? _addworkbasemoney;
        private decimal? _award;
        private decimal? _punishment;
        private string _remark;

        /// <summary>
        ///
        /// </summary>
        public int ID
        {
            set { _id = value; }
            get { return _id; }
        }

        /// <summary>
        ///
        /// </summary>
        public int StaffID
        {
            set { _staffid = value; }
            get { return _staffid; }
        }

        /// <summary>
        ///
        /// </summary>
        public string AttendanceMonth
        {
            set { _attendancemonth = value; }
            get { return _attendancemonth; }
        }

        /// <summary>
        ///
        /// </summary>
        public decimal LegalDays
        {
            set { _legaldays = value; }
            get { return _legaldays; }
        }

        /// <summary>
        ///
        /// </summary>
        public decimal FactDays
        {
            set { _factdays = value; }
            get { return _factdays; }
        }

        /// <summary>
        ///
        /// </summary>
        public decimal BaseMoney
        {
            set { _basemoney = value; }
            get { return _basemoney; }
        }

        /// <summary>
        ///
        /// </summary>
        public decimal? AddWork
        {
            set { _addwork = value; }
            get { return _addwork; }
        }

        /// <summary>
        ///
        /// </summary>
        public decimal? AddWorkBaseMoney
        {
            set { _addworkbasemoney = value; }
            get { return _addworkbasemoney; }
        }

        /// <summary>
        ///
        /// </summary>
        public decimal? Award
        {
            set { _award = value; }
            get { return _award; }
        }

        /// <summary>
        ///
        /// </summary>
        public decimal? Punishment
        {
            set { _punishment = value; }
            get { return _punishment; }
        }

        /// <summary>
        ///
        /// </summary>
        public string Remark
        {
            set { _remark = value; }
            get { return _remark; }
        }

        #endregion Model
    }
}